package com.pengshun.modules.api.transport.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pengshun.modules.api.coal.validator.Fourth;
import com.pengshun.modules.api.coal.validator.Third;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户认证,资料提交完毕后status设置为DOING，不可再编辑资料
 * 未通过审核status设置为INVALID，可以再次编辑资料提交审核
 */
@Data
public class SettlementDto implements Serializable {


    private Long freightSettlementId;
    private Long transportTakeCarriageId;
    private Long transportId;
    private Long merchantId;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date applyDate;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date cleanDate;
    private  String transportNo;
    private  String settlementNo;
    private  String merchantName;
    private Double shipLngx;
    private Double shipLaty;
    private Double receiveLngx;
    private Double receiveLaty;

    private  String startAddress;
    private  String endAddress;
    private  BigDecimal number;
    private  BigDecimal freight;
    private  BigDecimal settlementAmount;

    private Integer status;


}


